
"""
请求响应状态码断言
:data code:
:data assert_code:
:return:
"""
def assert_status(code, assert_code):
    try:
        assert code == assert_code
    except Exception:
        print("响应码错误")
        raise
